
<?php
/**
 * The html template file of add method of student module of ZenTaoPHP.
 *
 * The author disclaims copyright to this source code.  In place of
 * a legal notice, here is a blessing:
 *
 *  May you do good and not evil.
 *  May you find forgiveness for yourself and forgive others.
 *  May you share freely, never taking more than you give.
 */
?>
<?php include '../../common/view/header.html.php';?>
<div class='container'>
    <?php echo html::backButton();?>
    <?php echo html::a(inlink('index'), $lang->student->index, "class='btn'");?>
    <?php $lang = $this->lang->charge;?>
    <br/><br/>
    <div class='panel'>
        <div class='panel-heading'><strong><?php echo $lang->charge;?></strong></div>
        <form method='post'>
            <table class='table table-borderless table-form' align='center'>
                <tr>
                    <th style='width:80px'><?php echo $lang->student;?></th>
                    <?php
                        $account->remainder = !empty($account->remainder) ?  $account->remainder : 0;
                    ?>
                    <td><?php echo base64_decode(base64_decode(@$_GET['studentName']))."&nbsp;&nbsp;当前余额:".$account->remainder;?>元</td>
                </tr>
                <tr>
                    <th style='width:80px'><?php echo $lang->money;?></th>
                    <td><?php echo html::input('money', '', "class=form-control");?></td>
                    <td><?php echo html::hidden('student_id',  @$_GET['id']);?></td>
                </tr>
                <tr>
                    <th style='width:80px'><?php echo $lang->accountType;?></th>
                    <td><?php echo html::select('account_type', $accountClassList,"class=form-control",true);?></td>
                </tr>
                <tr><th></th><td><?php echo html::submitButton();?></td></tr>
            </table>
        </form>
    </div>
</div>
<?php include '../../common/view/footer.html.php';?>
